import Layout from '@/layout'

const marketingRouter = {
    path: '/marketing/full',
    component: Layout,
    redirect: 'noRedirect',
    name: 'marketing',
    alwaysShow: true,
    hidden:true,
    meta: {
        title: '营销管理',
        abbre: '营销',
        icon: 'left_menu_marketing',
        navigation:'/marketing',
        id: '407'
    },
    children: [{
        path: '/marketing/full',
        component: () =>
            import ('@/views/marketing/marketingFull'),
        name: 'marketing_full',
        hidden:false,
        meta: { title: '满减满赠', noCache: true,  navigation:'/marketing/full', icon: 'menu_big_data'}
    },{
        path: '/marketing/cash',
        component: () =>
            import ('@/views/marketing/marketingCash'),
        name: 'marketing_cash',
        hidden:false,
        meta: { title: '现金券', noCache: true,  navigation:'/marketing/cash', icon: 'menu_big_data'}
    },{
        path: '/marketing/flash',
        component: () =>
            import ('@/views/marketing/marketingFlash'),
        name: 'marketing_flash',
        hidden:false,
        meta: { title: '限时抢购', noCache: true,  navigation:'/marketing/flash', icon: 'menu_big_data'}
    }]
}

export default marketingRouter